package org.zsk.cs;

import org.mybatis.spring.annotation.MapperScan;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.stereotype.Repository;

/**
 * <p>
 *    应用启动类
 * </p>
 *
 * @author zsk
 * @version 1.0
 * Created on 2020/3/23
 */
@SpringBootApplication(scanBasePackages = {"org.zsk"})
@MapperScan(basePackages = {"org.zsk.cs.dao"}
        ,annotationClass = Repository.class)
@EnableCaching
public class Application {

    public static void main(String[] args) {
        SpringApplication.run(Application.class, args);
    }

}
